import java.util.Scanner;
public class test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入年龄：");
        int age = sc.nextInt();
        if (age >=0 && age <= 18) {
            System.out.println("少年");
           } else if (age >= 19 && age <= 28) {
            System.out.println("青年");
          } else if (age >= 29 && age <= 55) {
            System.out.println("中年");
            } else {
            System.out.println("老年");
            }
        }
}
